package main.java.com.lee.cas;

import sun.misc.Unsafe;

/**
 * @Description TODO
 * @Author winston
 * @DateTime 2021/12/27
 */
public class UnsafeTest01 {
    public static void main(String[] args) {
//        Unsafe unsafe = Unsafe.getUnsafe();

//        unsafe.compareAndSwapInt();
//        unsafe.compareAndSwapLong();
//        unsafe.compareAndSwapObject();
//        unsafe.staticFieldOffset();
//        unsafe.objectFieldOffset();
    }
}
